﻿using MovieFactory.Core.Primitives;

namespace MovieFactory.RayEngine.Data {

    public interface ILight {
        bool IsDelta { get; }
        float[] Le(ref Vector dir);

        void EvaluateShadow(ref Vector point, ref Normal n, float u0, float u1, float u2, out LightSample result);
        void EvaluatePhoton(RayEngineScene scene, float u0, float u1, float u2, float u3, float u4, out LightSample result);

    }
}